package com.wiken.servicecommon.common;

public class Code {
    public static final int SUCCESS = 200;
    public static final int ERROR = 300;
    public static final int EXCEPTION_ERROR = 500;

    //用户认证失败
    public static final int ERROR_AUTHORIZATION = 520;
    //用户登陆失败
    public static final int ERROR_LOGIN_PWD_USERNAME = 521;

    public static final int ERROR_AUTHORIZATION_NULL = 522;
    public static final int ERROR_AUTHORIZATION_EXPIRATION = 523;

    //添加店铺权限异常
    public static final int ERROR_STORE_AUTHORIZATION = 510;

    public static final int ERROR_STORETYPE_NULL = 530;
    public static final int ERROR_STORE_NULL = 531;
    public static final int ERROR_STORE_DEL = 550;

    public static final int ERROR_ADDRESS_USER_NULL = 540;
    public static final int ERROR_ORDER_COMMODITY_INSERT = 600;
    public static final int ERROR_SET_ORDER_EXPIRE = 610;
    public static final int ERROR_ORDER_COMMODITY_ID_NULL = 620;
    public static final int ERROR_ORDER_COMMODITY_UPDATE = 630;
    public static final int ERROR_USER_STORE_ACTIVITY_ADD = 700;
    public static final int ERROR_STORE_ACTIVITY_STORE_NUMBER_DELETE = 800;
    public static final int ERROR_STORE_ACTIVITY_STORE_NUMBER_ZERO = 810;
    public static final int ERROR_STORE_ACTIVITY_TIME_EXPIRE = 820;
    public static final int ERROR_UPLOAD_FILE = 900;
}
